package net.xiezihao.product_service.myTest;

public class Demo {
    static {
        System.out.println("我是一号static代码块");
    }
    {
        System.out.println("我是普通的代码块");
    }
    static {
        System.out.println("我是2号static 代码块");
    }
    private String name;
    private Integer id;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
